import request from '@/utils/request.ts'
import { UserGetParam } from '@/types/api.ts'
import { User } from '@/types/user'

export const getUserInfo = (param: UserGetParam): Promise<User> => {
  return request({
    url: '/portal/user/get',
    method: 'post',
    data: param,
  })
}
